//
//  LXLMeCollectionViewCell.m
//  真是不得姐啊
//
//  Created by 朱建鹏 on 16/8/25.
//  Copyright © 2016年 朱建鹏. All rights reserved.
//

#import "LXLMeCollectionViewCell.h"
#import "UIView+LXLViewCategory.h"
#import "LXLMeCollectionViewModel.h"

#import <UIImageView+WebCache.h>


@interface LXLMeCollectionViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *imgView;

@property (weak, nonatomic) IBOutlet UILabel *nameLab;

@end



@implementation LXLMeCollectionViewCell

-(void)awakeFromNib{
    [super awakeFromNib];
  
}

-(void)layoutSubviews{
    [super layoutSubviews];

   
}


-(void)setModel:(LXLMeCollectionViewModel *)model{
    _model = model;
    
    self.nameLab.text = model.name;
    
  
    [self.imgView sd_setImageWithURL:[NSURL URLWithString:model.icon]];
    

}

@end




























